<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改表单推送历史')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-his-edit" th:object="${formInfoHis}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">渠道名称：</label>
                <div class="col-sm-8">
                    <input name="channelName" th:field="*{channelName}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">用户ID：</label>
                <div class="col-sm-8">
                    <input name="uid" th:field="*{uid}" class="form-control" readonly type="text" required>
                </div>
            </div>
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">用户名称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="username" th:field="*{username}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">手机号：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="mobile" th:field="*{mobile}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户渠道号：</label>
                <div class="col-sm-8">
                    <input name="channelCode" th:field="*{channelCode}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">推送信息：</label>
                <div class="col-sm-8">
<!--                    <input name="pushKey" th:field="*{pushKey}" class="form-control" type="text">-->
                    <textarea th:field="*{pushKey}"   class="form-control" readonly  rows="5"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">入库时间：</label>
                <div class="col-sm-8">
                    <input name="userCreateTime" th:value="${#dates.format(formInfoHis.userCreateTime, 'yyyy-MM-dd HH:mm:ss')}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">推送结果：</label>
                <div class="col-sm-8">
                    <input name="pushResult" th:field="*{pushResult}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">返回吗：</label>
                <div class="col-sm-8">
                    <input name="retCode" th:field="*{retCode}" readonly class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">返回信息：</label>
                <div class="col-sm-8">
<!--                    <input name="retMsg" th:field="*{retMsg}" class="form-control" type="text">-->
                    <textarea th:field="*{retMsg}"  readonly  class="form-control"  rows="5"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">返回信息：</label>
                <div class="col-sm-8">
                    <input name="retMsg" th:value="${#dates.format(formInfoHis.createTime, 'yyyy-MM-dd HH:mm:ss')}" readonly class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "form/his";
        $("#form-his-edit").validate({
            focusCleanup: true
        });


    </script>
</body>
</html>